#pragma once

namespace TSE
{
	class Engine;
	class FileSystem
	{
	public:
		FileSystem(Engine &engine);
		~FileSystem();

		CL_String getRootPath();
		std::vector<CL_String> getFilesInDir(const CL_String &rel_dir);
		CL_String getContentInFile(const CL_String &rel_dir, const CL_String &file);
		bool is_initialized() const { return initialized; }

	private:
		Engine &engine;
		bool initialized;

		CL_VirtualFileSystem vfs;
		CL_VirtualDirectory vdir;
	};
}
